package registnet.records;

public abstract class AbstractPerson implements IPerson {

	protected String firstName;
	protected String middleName;
	protected String lastName;
	protected String sex;

	
	/**
	 * Gets the first name of the person
	 * 
	 * @return	The first name of the person
	 */
	public String getFirstName() {
		return firstName;
	}

	
	/**
	 * Sets the first name of the person
	 * 
	 * @param firstName - The first name of the person
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	
	/**
	 * Gets the middle name of the person
	 * 
	 * @return	The middle name of the person
	 */
	public String getMiddleName() {
		return middleName;
	}

	
	/**
	 * Sets the middle name of the person
	 * 
	 * @param middleName - The middle name of the person
	 */
	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}

	
	/**
	 * Gets the last name of the person
	 * 
	 * @return 	The last name of the person
	 */
	public String getLastName() {
		return lastName;
	}

	
	/**
	 * Sets the last name of the person
	 * 
	 * @param lastName - The last name of the person
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	
	/**
	 * Gets the sex of the person
	 * 
	 * @return	The sex of the person
	 */
	public String getSex() {
		return sex;
	}

	
	/**
	 * Sets the sex of the person
	 * 
	 * @param sex - The sex of the person
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}
	
}
